﻿//
// PolyLineGraphEditPanel.xaml.h
// Declaration of the PolyLineGraphEditPanel class
//

#pragma once

#include "PolyLineGraphEditPanel.g.h"
#include "PolyLineGraphData.h"
#include "BooPolyLineGraph.xaml.h"

namespace PolyLineGraph2
{
	ref class PolyLineGraphData;
	ref class BooPolyLineGraph;
}

namespace PolyLineGraph2
{
	[Windows::Foundation::Metadata::WebHostHidden]
	public ref class PolyLineGraphEditPanel sealed
	{
	internal:
		PolyLineGraphEditPanel(BooPolyLineGraph^ m_linegraph);

	public:
		void ApplyData(Platform::Object^ data);
	private:
		BooPolyLineGraph^ linegraph;
		std::vector<Windows::UI::Xaml::Controls::StackPanel^> inputPanelDatas;
		void dataContentSizeChanged(Platform::Object^ sender, Windows::UI::Xaml::SizeChangedEventArgs^ e);
		void OKButtonClicked(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
	};
}
